package com.lagou.demo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient("lagou-service-user")
public interface UserFeignServiceI {

    @PostMapping("/user/info/{token}")
    public String info(@PathVariable("token") String token);
}
